package cate.common.table.show.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import cate.common.table.d.GDBlog;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("头像")
public class HeadIconRow extends ERow {

    @NoteField("头像tid")
    public int tid;

    @NoteField("激活类型")
    public byte activeType;

    @NoteField("条件值")
    public int value;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", -1);
        this.tid = xrw.getInteger("ID", -1);
        this.activeType = xrw.getByte("激活类型", GDBlog.ActiveType.HERO);
        this.value = xrw.getInteger("条件值", 0);
    }
}
